package com.hq.ims.data.entityenum;


import com.hq.web.penum.IBaseEnum;

/**
 * 文件类型
 */
public enum EnumFileType implements IBaseEnum {
    /**
     * 正常
     */
    Dir(0, "目录"),
    /**
     * 冻结
     */
    File(1, "文件");

    private final int code;
    private final String typeName;
    EnumFileType(int code, String typeName) {
        this.code = code;
        this.typeName = typeName;
    }

    @Override
    public int getCode() {
        return code;
    }

    public String getTypeName() {
        return typeName;
    }

    @Override
    public String getValue() {
        return typeName;
    }
}
